package com.six.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("material")
@Data
public class Material {
    private Long id;
    private String name;
    @TableField("material_type_id")
    private Integer materialTypeId;
    //规格
    private String size;

    //单位 吨，块
    private String unit;

    //编号
    private String no;

    //克重
    private Double weight;

    //库存下限
    private Integer floor;

    //库存下限
    private Integer ceil;

    //仓库id
    @TableField("warehouse_id")
    private Long warehouseId;

    //制单人id
    @TableField("admin_id")
    private Long adminId;

    //部门id
    @TableField("dept_id")
    private Long deptId;

    //制单日期
    private Date created;



}
